Remote MongoDB Service

  • The RemoteMongoCollection represents a MongoDB collection.

    You can get an instance from a RemoteMongoDatabase.

    Create, read, update, and delete methods are available.

    Operations against the Stitch server are performed asynchronously.

    Note

    Before you can read or write data, a user must log in. See StitchAuth.

    See more

    Declaration

    Swift

    public class RemoteMongoCollection<T> where T : Decodable, T : Encodable
  • Sync is a set of synchronization-related operations for a RemoteMongoCollection.

    Using Sync, you can synchronize local and remote data.

    See also

    Build a Mobile App with Sync, RemoteMongoCollection
    See more

    Declaration

    Swift

    public class Sync<DocumentT> where DocumentT : Decodable, DocumentT : Encodable